package com.itcast.staticdemo.Demo07;

/*
Coder继承Employee类
*/
public class Coder extends Employee {
    public void work() {
        System.out.println("名字为：" + getName() + "，工号为：" + getId() + "的程序员在努力敲代码！工资为：" + getSalary());
    }
}
